FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER zhangrongbin@supermap.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /rootstock-gateway

WORKDIR /rootstock-gateway

EXPOSE 8010

ADD ./rootstock-gateway/target/rootstock-gateway.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar rootstock-gateway.jar
